#include<stdio.h>
#include<math.h>
int main(){
    int m, n, x;
    scanf("%d",&m);
    n=m*(m-1)+1;
    x=n;
    printf("%d",n);
    while(pow(m,3)!=x){
    	n+=2;
    	x+=n;
    	printf("+%d",n);
	}
    return 0;
}
